package com.gao.sqlserverspeedy.controller;

import com.gao.sqlserverspeedy.entity.R;
import com.gao.sqlserverspeedy.server.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sysuser")
public class SysUserController {
    @Autowired
    private ISysUserService iSysUserService;

    @RequestMapping("/list")
    public R list() {
        return R.ok(iSysUserService.selectDeptList());
    }
}
